{% extends "base.html" %}

{% block title %}Ticket{% endblock %}

{% block content %}


<div>
  Date: {{ticket.date}}
</div>
<div>
  State: {{ticket.state}}
</div>
<div>
  Content: {{ticket.content}}
</div>
<br>
<div>
  Entries:
  <div>
    {% for entry in ticket.entries %}
    <div>
      <div>
	Date: {{entry.date}}
      </div>
      <div>
	Author: {{entry.author}}
      </div>
      <div>
	Content: {{entry.content}}
      </div>
    </div>
    {% endfor %}
  </div>
  <div>
    {% include "addEntry.html" %}
    
    {% endblock %}
    
